home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / wsanet8a / wsanet / src / misc.h < prev    next >
Text File  |  1996-04-08  |  2KB  |  89 lines

  1. /* The event parameter routines were stripped due to unexplainable
  2.    random GPFs */
  3.  
  4. //WSNETC.H
  5.  
  6.     /* Typedefs for Event Fire parameters */
  7. /*typedef struct tagONCONNECTPARMS
  8. {
  9.  SHORT FAR *LocalPort;
  10.  SHORT FAR *RemotePort;
  11.  LPVOID Index;
  12. } ONCONNECTPARMS;
  13.  
  14. typedef struct tagONRECVPARMS
  15. {
  16.  SHORT FAR *RecvCount;
  17.  LPVOID Index;
  18. } ONRECVPARMS;
  19.  
  20. typedef struct tagONTIMEOUTPARMS
  21. {
  22.  SHORT FAR *TimeOut;
  23.  LPVOID Index;
  24. } ONTIMEOUTPARMS;
  25.  
  26. typedef struct tagONERRORPARMS
  27. {
  28.  SHORT FAR *ErrorNumber;
  29.  LPVOID Index;
  30. } ONERRORPARMS;
  31. */
  32.  
  33.  
  34. //INIT.C
  35.  
  36.     // Parameters to the OnConnect Event
  37. /*WORD Paramtypes_OnConnect[] = { ET_I2, ET_I2 };
  38.  
  39.     // The OnConnect Event structure
  40. EVENTINFO Event_OnConnect =
  41. {
  42.  "OnConnect",
  43.  2,
  44.  2,
  45.  Paramtypes_OnConnect,
  46.  "RemotePort As Integer, LocalPort As Integer"
  47. }; */
  48.  
  49.     // Parameters to the OnRecv Event
  50. /*WORD Paramtypes_OnRecv[] = { ET_I2 };
  51.  
  52.     // The OnRecv Event structure
  53. EVENTINFO Event_OnRecv =
  54. {
  55.  "OnRecv",
  56.  1,
  57.  1,
  58.  Paramtypes_OnRecv,
  59.  "RecvCount As Integer"
  60. }; */
  61.  
  62.     // Parameters to the OnTimeOut Event
  63. /*WORD Paramtypes_OnTimeOut[] = { ET_I2 };
  64.  
  65.     // The OnRecv Event structure
  66. EVENTINFO Event_OnTimeOut =
  67. {
  68.  "OnTimeOut",
  69.  1,
  70.  1,
  71.  Paramtypes_OnTimeOut,
  72.  "TimeOut As Integer"
  73. }; */
  74.  
  75. /*WORD Paramtypes_OnError[] = { ET_I2 };
  76.  
  77. EVENTINFO Event_OnError =
  78. {
  79.  "OnError",
  80.  1,
  81.  2,
  82.  Paramtypes_OnError,
  83.  "ErrorNumber As Integer"
  84. }; */
  85.  
  86. //WSNETC.DEF
  87. /*
  88.    WEP     @1  RESIDENTNAME
  89. */